﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XmlStudio.DataLayer {
    /// <summary>
    /// Specified how many times an element can be contained in its parent.
    /// </summary>
    public enum Multiplicity {
        /// <summary>
        /// 0 or 1 time.
        /// </summary>
        ZeroOrOne,

        /// <summary>
        /// 0 or more times.
        /// </summary>
        ZeroOrMore,

        /// <summary>
        /// Exactly once.
        /// </summary>
        One,

        /// <summary>
        /// 1 or more times.
        /// </summary>
        OneOrMore
    }
}
